<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html><!-- This web page is copied by "https://bazhan.wang" -->
<html>
<head>
    <meta charset="utf-8">
    <title>新闻媒体发稿平台 | 117营销</title>
    <meta name="keywords" content="新闻发稿,新闻媒体发稿">
    <meta name="description" content="117营销的新闻媒体发稿平台提供上万个新闻媒体账号，覆盖全国门户网站、行业垂直媒体、新闻源等主流媒体网站，帮助企业实现自动化发布新闻稿件，提高品牌知名度。">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <link rel="stylesheet" href="/iqianfeng/css/animate.css">
    <link rel="stylesheet" href="/iqianfeng/css/bootstrap.min.css">
    <link rel="stylesheet" href="/iqianfeng/css/bootstrap-select.min.css">
    <link rel="stylesheet" href="/iqianfeng/css/city-picker.css">
    <link rel="stylesheet" href="/iqianfeng/css/jquery.validator.css">
    <link rel="stylesheet" href="/iqianfeng/css/all.css">
    <link rel="stylesheet" href="/iqianfeng/css/common.css">
    <link rel="stylesheet" href="/iqianfeng/css/media_list.css">
</head>
<body>
<header id="header"><!-- <a href="https://baogao.iqianfeng.com/" target="_blank" rel="nofollow"><img src="/public/img/zhuce.png" class="img" style="width: 100%;display: block; cursor: pointer;" ></a> -->
    <nav class="nav-fixed-top" id="pc_header">
        <div class="container">
            <div class="navbar">
                <div class="navbar-header">
                    <a href="/front/frontIndex" class="nav-brand">
                        <img class="img" src="/iqianfeng/img/tubiao1.png" alt="117营销 | 软文发布与品牌营销效果追踪平台" style="  height: 80px;width: 250px;">
                    </a>
                    <div class="navbar-tools">
                        <span class="icon more"></span>
                    </div>
                </div>
                <div class="navbar-mask">
                    <div class="com_header_collapse animate_3">
                        <div class="com_header_collapse_ul_cont">
                            <ul class="nav navbar-nav navbar-nav-left">
                                <li class="active">
                                    <a href="/front/frontIndex" class="nav-link">首页</a>
                                </li>
                                <li class="dropdown">
                                    <a href="/front/weChat" class="dropdown-toggle nav-link linkTo" data-link="worth-section">新媒体<span class="htip-Hot">HOT</span></a>
                                </li>
                                <li class="dropdown">
                                    <a href="/front/seoserve" class="nav-link linkTo">SEO服务</a>
                                </li>
                                <li class="dropdown">
                                    <a href="/front/consulting" class="nav-link linkTo">了解117</a>
                                </li>
                            </ul>
                            <ul class="nav navbar-nav navbar-nav-right com_header_collapse_ul_cont_btns">
                                <c:if test="${advertisersAccount.phoneNum==null}">
                                    <li>
                                        <a href="/front/frontLogin" data-bd_yx="ty1" rel="nofollow" target="_top" class="nav-link spl-link">立即登录</a>
                                    </li>
                                </c:if>
                                <c:if test="${advertisersAccount.phoneNum!=null}">
                                    <li>
                                        <a href="/front/topUp?id=${advertisersAccount.id}" data-bd_yx="ty1" target="_top" class="nav-link spl-link">${advertisersAccount.phoneNum}</a>
<%--                                        <a href="/front/frontLogin" data-bd_yx="ty1" rel="nofollow" target="_top" class="nav-link spl-link">退出登录</a>--%>
                                    </li>
                                    <li>
                                        <a  href="/front/session" class="login-out">退出登录</a>
                                    </li>
                                </c:if>

                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <aside id="asideBar">
        <div class="aside-div" id="aside-tel" title="咨询电话">
            <i class="ico ico-tel"></i>
            <div class="details change-3">
                <p class="aside-title">咨询电话</p>
                <p class="aside-desc">1384383838</p>
            </div>
        </div>
        <div class="aside-div" id="aside-gzh" title="公众号">
            <i class="ico ico-gzh"></i>
            <div class="details change-3">
                <p class="aside-title text-center">关注公众号</p>
                <img src="/iqianfeng/img/weix.jpg">
            </div>
        </div>
        <div class="aside-div" id="aside-wx" title="官方微信">
            <i class="ico ico-wx"></i>
            <div class="details change-3" style="width: 0px; padding: 0px;">
                <p class="aside-title text-center">微信二维码</p>
                <img src="/iqianfeng/img/weix.jpg">
            </div>
        </div>
    </aside>
</header>
<main>
    <section class="media-section clearfix">
        <div class="search-box-fixed">
            <form class="search" method="post" action="/front/search">
                <div class="toolbar" id="search-box">
                    <div class="btn-group bootstrap-select 1">
                        <span class="btn filter-option">新闻媒体</span>
                    </div>
                        <input type="text" name="accountName" class="form-control" name="q" autocomplete="off">
                        <button type="submit" class="btn searchself-btn glyphicon glyphicon-search"></button>
                </div>
            </form>
        </div>
        <div class="com_crumb">
            <div class="container">当前位置：
                <span class="com_crumb_link">117营销</span>
                <span class="com_crumb_fin">新闻媒体</span>
            </div>
        </div>
        <div class="navBox">
            <ul class="nav-list">
                <li><a href="/front/searchMicroblog" class="nav-list-item active htip-hot"> <i class="icon-media1"></i>
                    <h1>新媒体全案</h1>
                </a></li>
                <li><a href="/front/searchMicroblog?platformId=2" class="nav-list-item"> <i class="icon-media2"></i> <span>微博</span> </a> </li>
                <li><a href="/front/searchMicroblog?platformId=1" class="nav-list-item"> <i class="icon-media3"></i> <span>微信</span> </a></li>
                <li><a href="/front/searchMicroblog?platformId=3" class="nav-list-item"> <i class="icon-media4"></i> <span>抖音短视频</span> </a> </li>
                <li><a href="/front/searchMicroblog?platformId=4" class="nav-list-item"> <i class="icon-media4"></i> <span>快手短视频</span> </a> </li>
            </ul>
        </div>
        <div id="toolbar" class="alert-success-light clearfix">
            <div class="container">
                <div class="toolbar-box toolbar-pc-box toolbar-line-box-ini">
                    <label class="control-label">粉丝数：</label>
                    <p data-type="2" data-field="portal_media">
                        <a href="/front/searchMicroblog" class="text-success" data-toggle="tooltip" data-value=""><span>不限</span></a>
                        <a href="/front/searchMicroblog?fansAmount=7" data-toggle="tooltip" data-value="5万以下"><span>5万以下</span></a>
                        <a href="/front/searchMicroblog?fansAmount=8" data-toggle="tooltip" data-value="5万-50万"><span>5万-50万</span></a>
                        <a href="/front/searchMicroblog?fansAmount=9" data-toggle="tooltip" data-value="50万-100万"><span>50万-100万</span></a>
                        <a href="/front/searchMicroblog?fansAmount=10" data-toggle="tooltip" data-value="100万-500万"><span>100万-500万</span></a>
                        <a href="/front/searchMicroblog?fansAmount=11" data-toggle="tooltip" data-value="500万-1000万"><span>500万-1000万</span></a>
                        <a href="/front/searchMicroblog?fansAmount=12" data-toggle="tooltip" data-value="1000万-2000万"><span>1000万-2000万</span></a>
                        <a href="/front/searchMicroblog?fansAmount=13" data-toggle="tooltip" data-value="2000万-5000万"><span>2000万-5000万</span></a>
                        <a href="/front/searchMicroblog?fansAmount=14" data-toggle="tooltip" data-value="5000万以上"><span>5000万以上</span></a>
                    </p>
                </div>
                <div class="toolbar-box toolbar-pc-box toolbar-line-box-ini">
                    <label class="control-label">参考报价：</label>
                    <p data-field="special_industry">
                        <a href="/front/searchMicroblog" class="text-success" data-toggle="tooltip" title=""><span>不限</span></a>
                        <a href="/front/searchMicroblog?price.price=1" data-toggle="tooltip" title=""><span>1000以下</span></a>
                        <a href="/front/searchMicroblog?price.price=2" data-toggle="tooltip" title="" data-value="2"><span>1000-1万</span></a>
                        <a href="/front/searchMicroblog?price.price=3" data-toggle="tooltip" title="" data-value="3"><span>1万-10万</span></a>
                        <a href="/front/searchMicroblog?price.price=4" data-toggle="tooltip" title="" data-value="4"><span>10万-20万</span></a>
                        <a href="/front/searchMicroblog?price.price=5" data-toggle="tooltip" title="" data-value="5"><span>20万-50万</span></a>
                        <a href="/front/searchMicroblog?price.price=6" data-toggle="tooltip" title="" data-value="6"><span>50万以上</span></a>
                    </p>
                </div>
            </div>
            <div class="toggleBox">
                <span class="toggleArr"></span>
            </div>
        </div>
        <div class="show-table-box">
            <div class="container">
                <div class="show-table-cont show-table-mob">
                    <div class="show-table-line show-table-thline"><span>名称</span> <span>类型</span> <span>会员价格</span> </div>
                </div>
                <div class="show-table-cont show-table-lines">
                    <c:forEach items="${mediaAccount}" var="mediaAccounts">
                        <input type="hidden" value="${mediaAccounts.id}" />
<%--                        <option value="${users.id}"<c:if test="${users.typeInfo.id == users.id}"></c:if>>${users.typeInfo.typeName}</option>--%>
                        <div class="show-table-line">
                        <div class="table-td-name hasillus">
                            <a href="#" target="_blank">
                                <img src="${mediaAccounts.headImg}" alt="">
                            </a>
                            <div>
                                <a href="#" target="_blank"><b>${mediaAccounts.accountName}</b><span class="icon_lv icon_lv3"></span></a> <!--<span class="show-table-pc"></span>-->
                            </div>
                        </div>
                        <div class="table-td-rate show-table-pc"><span>粉丝数</span>
                            <div class="show-table-inner-c inner-num">${mediaAccounts.fansAmount}</div>
                        </div>
<%--                        <div class="show-table-mob"><span>生活消费</span></div>--%>
<%--                        <div class="table-td-price show-table-mob"><span class="show-table-pc">V3会员价格</span>--%>
<%--                            <div class="show-table-inner-c inner-num">110.00</div>--%>
<%--                        </div>--%>
                        <div class="table-td-price"><span class="show-table-pc">报价</span><a class="show-table-inner-c inner-num" href="#" rel="nofollow" target="_blank">${mediaAccounts.price.price}</a></div>

                        <div class="table-td-qz show-table-pc"><span>价格有效期</span>
                            <div class="show-table-inner-c"><fmt:formatDate value="${mediaAccounts.price.endTime}" pattern="yyyy-MM-dd"/></div>
                        </div>
                        <div class="table-td-qz show-table-pc"><span>阅读量</span>
                            <div class="show-table-inner-c">${mediaAccounts.accountPv}</div>
                        </div>
                        <div class="table-td-source show-table-pc"><span>账号分类</span>
                            <div class="show-table-inner-c">${mediaAccounts.tag.name}</div>
                        </div>
                        <div class="show-table-pc table-td-source"><span>操作</span>
                            <div class="btn btn-link" data-bd_yx="ty1" role="button" onclick="window.open('/front/contribute?id=${mediaAccounts.id}&price=${mediaAccounts.price.price}&priceId=${mediaAccounts.price.id}','_self')">投稿</div>
                        </div>
                    </div>
                    </c:forEach>
                </div>
<%--                <div id="Pagination" class="com_pager">--%>

<%--                </div>--%>
<%--                <div class="paginationjs" id="dedePagi">--%>
<%--                    <div class="paginationjs-pages">--%>
<%--                        <ul>--%>
<%--                            <li>首页</li>--%>
<%--                            <li class="thisclass">1</li>--%>
<%--                            <li><a href="/iqianfeng/xinwenmeiti_2.html">2</a></li>--%>
<%--                            <li><a href="/iqianfeng/xinwenmeiti_3.html">3</a></li>--%>
<%--                            <li><a href="/iqianfeng/xinwenmeiti_4.html">4</a></li>--%>
<%--                            <li><a href="/iqianfeng/xinwenmeiti_5.html">5</a></li>--%>
<%--                            <li><a href="/iqianfeng/xinwenmeiti_6.html">6</a></li>--%>
<%--                            <li><a href="/iqianfeng/xinwenmeiti_7.html">7</a></li>--%>
<%--                            <li><a href="/iqianfeng/xinwenmeiti_2.html">下一页</a></li>--%>
<%--                            <li><a href="/iqianfeng/xinwenmeiti_763.html">末页</a></li>--%>
<%--                            <li><span class="pageinfo">共 <strong>763</strong>页<strong>15244</strong>条</span></li>--%>
<%--                        </ul>--%>
<%--                    </div>--%>
<%--                </div>--%>
            </div>
        </div>
    </section>
</main>

<footer id="footer">
    <div class="container pc_footer">
        <div class="footer-main">
            <div class="footer-list-cont">
                <dl class="footer-list-dl">
                    <dt class="footer-list-type">117营销工具</dt>
                    <dd class="footer-list-item">
                        <a href="#" rel="nofollow" target="_top" class="footer-link">117口碑监测</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" rel="nofollow" target="_top" class="footer-link">117体发布</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" rel="nofollow" target="_top" class="footer-link">117报告</a>
                    </dd>
                </dl>
            </div>
            <div class="footer-list-cont">
                <dl class="footer-list-dl">
                    <dt class="footer-list-type">媒体资源</dt>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" class="footer-link">新闻发稿</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" class="footer-link">软文推广</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" class="footer-link">种草营销</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" class="footer-link">短视频营销</a>
                    </dd>
                </dl>
            </div>
            <div class="footer-list-cont">
                <dl class="footer-list-dl">
                    <dt class="footer-list-type">成功案例</dt>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" rel="nofollow" class="footer-link">大黄蜂科技</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" rel="nofollow" class="footer-link">雅漾项目</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" rel="nofollow" class="footer-link">马自达</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" rel="nofollow" class="footer-link">大力智能</a>
                    </dd>

                </dl>
            </div>
            <div class="footer-list-cont">
                <dl class="footer-list-dl">
                    <dt class="footer-list-type">行业解决方案</dt>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" class="footer-link">汽车行业</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" class="footer-link">装修行业</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" class="footer-link">美妆护肤</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" class="footer-link">快消品行业</a>
                    </dd>
                </dl>
            </div>
            <div class="footer-list-cont">
                <dl class="footer-list-dl">
                    <dt class="footer-list-type">了解117</dt>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" rel="nofollow" class="footer-link">联系我们</a>
                    </dd>
                    <dd class="footer-list-item">
                        <a href="#" target="_top" rel="nofollow" class="footer-link">帮助中心</a>
                    </dd>
                </dl>
            </div>
            <div class="footer-list-cont">
                <dl class="footer-list-dl">
                    <dt class="footer-list-type">联系我们</dt>
                    <dd class="footer-list-item">
                        <p>联系电话：1384383838</p>
                    </dd>
                    <dd class="footer-list-item">
                        <p>QQ：1112354321</p>
                    </dd>
                    <dd class="footer-list-item">
                        <p>官方邮箱：pengyuyan@qq.com</p>
                    </dd>
                    <dd class="footer-list-item">
                        <p>地址：赣州市章贡区赣州技师学院305室</p>
                    </dd>
                    <dd class="footer-list-item">
                        <%--<div class="footer-img-cont">
                            <img src="/iqianfeng/img/7913760f0b2c6e31b32c8e1305d5053.jpeg" alt="117营销服务号二维码" class="img">
                            <p>117营销服务号</p>
                        </div>--%>
                        <div class="footer-img-cont" >
                            <img src="/iqianfeng/img/weix.jpg" alt="客服微信二维码" class="img">
                            <p>客服微信</p>
                        </div>

                    </dd>
                </dl>
            </div>
        </div>
    </div>
    <div class="m_footer container">
        <div class="footer-logo"><img src="/iqianfeng/img/logo_w.png" alt="" class="img"></div>
        <ul>
            <li class="footer-list-item footer-list-i1">赣州市章贡区赣州技师学院305室</li>
            <li class="footer-list-item footer-list-i2">1384383838</li>
            <li class="footer-list-item footer-list-i3">1112354321</li>
            <li class="footer-list-item footer-list-i4">官方邮箱：pengyuyan@qq.com</li>
        </ul>
        <div class="footer-connect-box">
            <p>联系我们</p>
            <div class="footer-img-cont">
                <img src="/iqianfeng/img/7913760f0b2c6e31b32c8e1305d5053.jpeg" alt="117营销服务号二维码" class="img">
                <p>117营销服务号</p>
            </div>
            <div class="footer-img-cont">
                <img src="/iqianfeng/img/gongzhonghao-2.png" alt="客服微信二维码" class="img">
                <p>客服微信</p>
            </div>
        </div>
    </div>
    <div class="footer-bottom">
        <p>Cosponsor 2023 CRC Reading Reserved 一切都挺好（江西）117科技无限公司版权所有 <a href="https://beian.miit.gov.cn" rel="nofollow" target="_blank">备案号：赣ICP备19024868号-8</a></p>
        <p><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010502049532" rel="nofollow" target="_blank">赣公网安备 11011100010100号</a></p>
    </div>
    <aside id="mob_tel">
        <div title="咨询电话">
            <i class="ico ico-tel"></i>
            <a class="details change-3" href="tel:15568313136">
                <p class="aside-title">咨询电话</p>
                <p class="aside-desc">1384383838</p>
            </a>
        </div>
    </aside>
    <div id="tooltips"></div>

</footer>

<script src="/iqianfeng/js/jquery.min.js"></script>
<script src="/iqianfeng/js/bootstrap.min.js"></script>
<script src="/iqianfeng/js/bootstrap-select.js"></script>
<script src="/iqianfeng/js/pagination.min.js"></script>
<script src="/iqianfeng/js/layer.js"></script>
<script src="/iqianfeng/js/jquery.validator.js"></script>
<script src="/iqianfeng/js/city-picker.data.js"></script>
<script src="/iqianfeng/js/city-picker.js"></script>
<script src="/iqianfeng/js/common.js"></script>
<script src="/layui/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="/layui/js/lay-config.js?v=2.0.0" charset="utf-8"></script>
<div id="tool_tips" style="display: none;"></div>


<!-- <script src="/public/js/media_list.js"></script> -->
<script>
    headerScroll();
    $('.selectpicker1').selectpicker();
    $('.selectpicker').selectpicker();


    // 移动端筛选展开
    $(".toggle-btn").click(function() {
        $("#toolbar .toolbar-box.toolbar-mob-box > p").css({
            "max-height": "456px"
        })
        $("#toolbar .btn-group.bootstrap-select").css({
            "display": "inline-block"
        })
        $(this).hide();
    })

    // 行展开
    $(".toolbar-pc-box").each((i, j) => {
        if ($(j).height() > 46) {
            $(j).addClass("toolbar-line-box-shrink");
            $(j).append(`<span class="line-open">展开</span>`)
            $(j).find("p").append(`<span class="line-close">收起</span>`)
        }
    });
    $(".toolbar-line-box-ini").removeClass("toolbar-line-box-ini");

    $(document).on("click", ".toolbar-pc-box .line-open", function() {
        $(this).parents(".toolbar-line-box-shrink").removeClass("toolbar-line-box-shrink");
    })

    $(document).on("click", ".toolbar-pc-box .line-close", function() {
        $(this).parents(".toolbar-pc-box").addClass("toolbar-line-box-shrink");
    })

    // 筛选
    $("#toolbar p > a").click(function() {
        $(this).parent().children("a").removeClass("text-success");
        $(this).addClass("text-success");
        const type = $(this).parent().attr("data-field");
        const value = $(this).attr("data-value");
        changeFilterV(type, value)
    })
    $("#toolbar select").change(function() {
        const type = $(this).attr("name");
        const value = $(this).val();
        console.log(type, value)
        changeFilterV(type, value)
    })
    $("#search-box input").keydown(function(e) {
        if (e.keyCode == 13) {
            const type = "title";
            const value = $(this).val();
            $(".toggleBox").addClass("open");
            $("#toolbar .toolbar-box").hide();

            changeFilterV(type, value);
        }
    })
    $("#search-box button").click(function() {
        const type = "title";
        const value = $("#search-box input").val();
        $(".toggleBox").addClass("open");
        $("#toolbar .toolbar-box").hide();

        changeFilterV(type, value);
    })

    const changeFilterObj = {
        page: 1,
        news_resource: 1
    };
    let roadTotalNum = 0;

    function changeFilterV(type, value) {
        type == "page" ? "" : (changeFilterObj["page"] = 1)
        if (value) {
            changeFilterObj[type] = value;
        } else {
            delete changeFilterObj[type]
        }
        $.post("https://a.iqianfeng.com/index/watson/filter_dede_media", changeFilterObj, function(data, ret) {
            let htl = ``;
            const rows = JSON.parse(data)["rows"];
            if (rows.length == 0) {
                console.log(rows.length)
                htl = `<p class="noVtip">没有匹配的数据</p>`
            } else {
                rows.forEach(i => {
                    <%--htl += `--%>
                    <%--    <div class="show-table-line">--%>
                    <%--        <div class="table-td-name hasillus">--%>
                    <%--            <a href="/xinwenmeiti/${i["aid"]}.html" target="_blank">--%>
                    <%--                <img src="/public/img/media/media-${i["portal_media"]}.png" alt="">--%>
                    <%--            </a>--%>
                    <%--            <div>--%>
                    <%--                <a href="/xinwenmeiti/${i["aid"]}.html" target="_blank">${i["title"]}${i["sale_id"] == 0?'<span class="icon_lv icon_lv3"></span>':''}</a><span class="show-table-pc">${i["channel_type"]}</span>--%>
                    <%--            </div>--%>
                    <%--        </div>--%>
                    <%--        <div class="show-table-mob"><span>${i["channel_type"]}</span></div>--%>
                    <%--        <div class="table-td-price show-table-mob">--%>
                    <%--            <span class="show-table-pc">V3会员价格</span>--%>
                    <%--            <div class="show-table-inner-c inner-num">${--%>
                    <%--                [i["price_o"],"<span class='discont-num'>0</span> <del>"+i["price_o"]+"</del>","<span class='discont-num'>" + i["price_4"]+"</span> <del>"+i["price_o"]+"</del>"][i["sale_id"]]--%>
                    <%--            }</div>--%>
                    <%--        </div>--%>
                    <%--        <div class="table-td-rate show-table-pc"><span>出稿率</span><div class="show-table-inner-c inner-num">${i["publish_rate"]}%</div></div>--%>
                    <%--        <div class="table-td-qz show-table-pc"><span>电脑权重</span><div class="show-table-inner-c inner-qz">${i["pc_weight"]}</div></div>--%>
                    <%--        <div class="table-td-qz show-table-pc"><span>移动权重</span><div class="show-table-inner-c inner-qz">${i["m_weight"]}</div></div>--%>
                    <%--        <div class="table-td-source show-table-pc"><span>新闻源</span><div class="show-table-inner-c">${--%>
                    <%--            ["非新闻源","百度新闻源","头条新闻源","百度/头条新闻源"][i["news_resource"]]--%>
                    <%--        }</div></div>--%>
                    <%--        <div class="table-td-source show-table-pc"><span>链接情况</span><div class="show-table-inner-c">${--%>
                    <%--            ["不带联系方式","可带超链接","可带网址","可带微信QQ"][i["link_type"]]--%>
                    <%--        }</div></div>--%>
                    <%--        <div class="table-td-remark show-table-pc"><span>备注</span><div class="show-table-inner-c">${i["remark"]}</div></div>--%>
                    <%--        <div class="show-table-pc table-td-source"><span>操作</span><div class="btn btn-link" data-bd_yx="ty1" role="button" data-href="https://a.iqianfeng.com/index/order/add?i=${window.btoa(i["media_id"])}">发稿</div></div>--%>
                    <%--    </div>`--%>
                })
            }
            $(".show-table-lines").html(htl);
            $.extend($.fn.pagination.defaults, {
                dataSource: new Array(rows.length)
            })
            const total = JSON.parse(data).total;
            if (roadTotalNum != total) {
                $('#Pagination').pagination("destroy");
                $('#Pagination').pagination({
                    dataSource: new Array(JSON.parse(data).total),
                    // dataSource: 'https://a.iqianfeng.com/index/watson/filter_dede_media',
                    pageSize: 20,
                    showGoInput: true,
                    showGoButton: true,
                    hideWhenLessThanOnePage: true,
                    afterPreviousOnClick: function(data, pagination) {
                        this.totalNumber = 20;
                        console.log(data, pagination)
                        changeFilterV("page", pagination)
                    },
                    afterNextOnClick: function(data, pagination) {
                        console.log(data, pagination)
                        changeFilterV("page", pagination)
                    },
                    afterPageOnClick: function(data, pagination) {
                        changeFilterV("page", pagination)
                    },
                    afterGoButtonOnClick: function(data, pagination) {
                        changeFilterV("page", pagination)
                    },
                    afterGoInputOnEnter: function(data, pagination) {
                        changeFilterV("page", pagination)
                    }
                })
                roadTotalNum = total;
            }

        }).fail(function(res) {
            console.log(res)
        });
    }



    $('#Pagination').pagination({
        dataSource: function(done) {
            $.ajax({
                type: 'GET',
                url: 'https://a.iqianfeng.com/index/watson/filter_dede_media',
                success: function(res) {
                    roadTotalNum = JSON.parse(res)["total"]
                    var result = [];
                    for (var i = 1; i < JSON.parse(res)["total"]; i++) {
                        result.push(i);
                    }
                    done(result);
                }
            });
        },
        // dataSource: 'https://a.iqianfeng.com/index/watson/filter_dede_media',
        pageSize: 20,
        showGoInput: true,
        hideWhenLessThanOnePage: true,
        showGoButton: true,
        afterPreviousOnClick: function(data, pagination) {
            this.totalNumber = 20;
            console.log(data, pagination)
            changeFilterV("page", pagination)
        },
        afterNextOnClick: function(data, pagination) {
            console.log(data, pagination)
            changeFilterV("page", pagination)
        },
        afterPageOnClick: function(data, pagination) {
            changeFilterV("page", pagination)
        },
        afterGoButtonOnClick: function(data, pagination) {
            changeFilterV("page", pagination)
        },
        afterGoInputOnEnter: function(data, pagination) {
            changeFilterV("page", pagination)
        }
    })
</script>

<script>
    $(".toggleBox").click(function() {
        if ($(this).hasClass("open")) {
            $(this).removeClass("open");
            $("#toolbar .toolbar-box").show();
        } else {
            $(this).addClass("open");
            $("#toolbar .toolbar-box").hide();
        }
    })

    $(document).on('mouseenter mouseleave', ".toggleBox", function(e) {
        title = $(this).hasClass("open") ? "展开" : "收起";
        console.log(e.target.position)
        if (e.type === 'mouseenter') {
            var pos = $(this).offset(),
                _st = $(document).scrollTop();

            console.log(pos, _st, pos.top - _st - 32)
            $("#tool_tips").html(title).css({
                top: pos.top - _st - 32,
                left: pos.left + 10
            }).show();

        } else if (e.type === 'mouseleave') {
            $("#tool_tips").html("").hide();
        }
    })
</script>
<!-- pc端下拉同时 顶部显示搜索栏 开始 -->
<script>
    if (!(navigator.userAgent.match(/(iPhone|iPod|Android|ios|iOS|iPad|Backerry|WebOS|Symbian|Windows Phone|Phone)/i))) {
        let formscT = 0;
        let formMTop = $("#search-box").offset().top;
        $(window).on("scroll", function() {
            formscT = $(window).scrollTop();

            if (formscT < height) {
                $(".search-box-fixed").removeClass("form-fixed-bg");
                $(".com_crumb").removeClass("form-fixed-bg");
            } else {
                $(".search-box-fixed").addClass("form-fixed-bg");
                $(".com_crumb").addClass("form-fixed-bg");
            }
        });
    }
</script>

<style>
    .nav-fixed-bg {
        box-shadow: none !important;
    }

    .form-fixed-bg.search-box-fixed {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        z-index: 899;
        margin: 0;
        background: #ffffff;
        width: auto;
        padding: 12px 0;
        max-width: initial;
        box-shadow: rgb(0 0 0 / 4%) 0px 3px 10px 0px;
    }

    .form-fixed-bg.search-box-fixed #search-box {
        margin: 0 auto;
        border: 1px solid #dadada;
        border-radius: 30px;
    }

    .com_crumb.form-fixed-bg {
        margin-top: 274px
    }
</style>
<!-- pc端下拉同时 顶部显示搜索栏 结束 -->

</body>

</html>